package com.bw.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Accountant {
    private Integer id;//主键id
    private String name;//姓名
    private String sex;//性别
    private String city;//城市
    private String danwei;//单位
    private Integer shejishiid;//设计师id
    private String aname;//设计师名称
    private String zigezhengid;//资格证id
    private String zhucehao;//注册号
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dtime;//有效期
    private Integer lx;
    private String neirong;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date mintime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date maxtime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLx() {
        return lx;
    }

    public void setLx(Integer lx) {
        this.lx = lx;
    }

    public String getNeirong() {
        return neirong;
    }

    public void setNeirong(String neirong) {
        this.neirong = neirong;
    }

    public Date getMintime() {
        return mintime;
    }

    public void setMintime(Date mintime) {
        this.mintime = mintime;
    }

    public Date getMaxtime() {
        return maxtime;
    }

    public void setMaxtime(Date maxtime) {
        this.maxtime = maxtime;
    }

    @Override
    public String toString() {
        return "Accountant{" +
                "id=" + id +
                ", sex='" + sex + '\'' +
                ", city='" + city + '\'' +
                ", danwei='" + danwei + '\'' +
                ", shejishiid=" + shejishiid +
                ", aname='" + aname + '\'' +
                ", zigezhengid=" + zigezhengid +
                ", zhucehao='" + zhucehao + '\'' +
                ", dtime=" + dtime +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDanwei() {
        return danwei;
    }

    public void setDanwei(String danwei) {
        this.danwei = danwei;
    }

    public Integer getShejishiid() {
        return shejishiid;
    }

    public void setShejishiid(Integer shejishiid) {
        this.shejishiid = shejishiid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getZigezhengid() {
        return zigezhengid;
    }

    public void setZigezhengid(String zigezhengid) {
        this.zigezhengid = zigezhengid;
    }

    public String getZhucehao() {
        return zhucehao;
    }

    public void setZhucehao(String zhucehao) {
        this.zhucehao = zhucehao;
    }

    public Date getDtime() {
        return dtime;
    }

    public void setDtime(Date dtime) {
        this.dtime = dtime;
    }
}
